package com.dailyblue.example.springcloud.consumer.feign.service.impl;

import com.dailyblue.example.springcloud.commons.util.JsonResult;
import com.dailyblue.example.springcloud.consumer.feign.feign.ConsumerFeign;
import com.dailyblue.example.springcloud.consumer.feign.service.ConsumerFeignService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ConsumerFeignServiceImpl implements ConsumerFeignService {
    @Resource
    private ConsumerFeign feign;

    @Override
    public JsonResult a() {
        return feign.a();
    }

    @Override
    public JsonResult c(int a) {
        return feign.c(a);
    }
}
